package com.example.campusforumapi.entity;

import lombok.Data;

import java.time.LocalDateTime;

//点赞表
@Data
public class Vote {
    private Integer voteId;//点赞ID
    private Integer userId;//用户ID
    private String targetType;//关联对象类型 article activity comment
    private Integer status;// 0取消 1点赞 -1点踩
    private LocalDateTime createTime; //创建时间
    private LocalDateTime updateTime;//更新时间
}
